# $Id: PKGBUILD 80987 2012-12-08 18:09:15Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: Stefan Husmann  <stefan-husmann@t-online.de>
# Contributor: Manuel "ekerazha" C. (www.ekerazha.com)

pkgbase=python-configobj
pkgname=('python2-configobj')
pkgver=4.7.2
pkgrel=6
pkgdesc='Simple but powerful config file reader and writer for Python'
arch=('any')
url='http://www.voidspace.org.uk/python/configobj.html'
license=('custom:voidspace')
depends=('python2')
conflicts=('python-configobj')
source=("http://www.voidspace.org.uk/downloads/configobj-$pkgver.zip"
	'voidspace-license.txt')
sha256sums=('332a0d20d4d736d521d95cb2cf069b1ac7c858985207db4296f4050396558c49'
            '4420970e122ca521069ee3c57d4e40b5effb6b003bb0c215a3e4ef8378c3d6ba')

package_python2-configobj() {
  cd $srcdir/configobj-$pkgver

  python2 setup.py install --root=$pkgdir --optimize=1
  install -Dm644 $srcdir/voidspace-license.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}

# vim:set ts=2 sw=2 et:
